inherited frmUserIpControl: TfrmUserIpControl
  BorderStyle = bsDialog
  Caption = #31105#29992'IP'
  ClientHeight = 303
  ClientWidth = 609
  OldCreateOrder = True
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 12
  object Label1: TLabel
    Left = 16
    Top = 44
    Width = 48
    Height = 12
    Caption = 'IP'#22320#22336#65306
  end
  object Label4: TLabel
    Left = 360
    Top = 45
    Width = 48
    Height = 12
    Caption = #20351#29992#20154#65306
  end
  object Label6: TLabel
    Left = 192
    Top = 44
    Width = 60
    Height = 12
    Caption = #35745#31639#26426#21517#65306
  end
  object dcbIpControl: TDBCheckBoxEh
    Left = 16
    Top = 17
    Width = 73
    Height = 17
    Caption = 'IP'#31105#29992#21542
    DataField = 'IPControl'
    DataSource = dsUserIPControl
    DynProps = <>
    TabOrder = 0
  end
  object DBGridEh5: TDBGridEh
    Left = 16
    Top = 64
    Width = 337
    Height = 200
    TabStop = False
    AllowedOperations = [alopUpdateEh]
    DataSource = dsUserIPControl
    DynProps = <>
    Flat = True
    FooterParams.Color = clWindow
    GridLineParams.VertEmptySpaceStyle = dessNonEh
    ImeName = #20013#25991' ('#31616#20307') - '#26497#28857#20013#25991
    IndicatorOptions = [gioShowRowIndicatorEh]
    OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghColumnResize, dghColumnMove]
    PopupMenu = pmIPControl
    ReadOnly = True
    TabOrder = 5
    TitleParams.MultiTitle = True
    Columns = <
      item
        LookupParams.LookupCache = False
        DynProps = <>
        EditButtons = <>
        FieldName = 'IPControl'
        Footers = <>
        Title.TitleButton = True
        AAEditIdent = False
      end
      item
        LookupParams.LookupCache = False
        DynProps = <>
        EditButtons = <>
        FieldName = 'IPAddress'
        Footers = <>
        Title.TitleButton = True
        Width = 100
        AAEditIdent = False
      end
      item
        LookupParams.LookupCache = False
        DynProps = <>
        EditButtons = <>
        FieldName = 'ComputerName'
        Footers = <>
        Title.TitleButton = True
        Width = 100
        AAEditIdent = False
      end
      item
        LookupParams.LookupCache = False
        DynProps = <>
        EditButtons = <>
        FieldName = 'UserName'
        Footers = <>
        Title.TitleButton = True
        Width = 60
        AAEditIdent = False
      end>
    object RowDetailData: TRowDetailPanelControlEh
    end
  end
  object btnAddIP: TBitBtn
    Left = 520
    Top = 37
    Width = 75
    Height = 25
    Caption = #28155#21152'IP'
    TabOrder = 4
    OnClick = btnAddIPClick
  end
  object edtIPAddress: TEdit
    Left = 64
    Top = 40
    Width = 121
    Height = 20
    MaxLength = 15
    TabOrder = 1
    OnKeyPress = edtIPAddressKeyPress
  end
  object edtUserName: TEdit
    Left = 416
    Top = 40
    Width = 97
    Height = 20
    MaxLength = 20
    TabOrder = 3
  end
  object edtComputerName: TEdit
    Left = 256
    Top = 40
    Width = 97
    Height = 20
    MaxLength = 50
    TabOrder = 2
    OnKeyPress = edtComputerNameKeyPress
  end
  object btnOK: TBitBtn
    Left = 359
    Top = 270
    Width = 75
    Height = 25
    Caption = #30830#23450'(&O)'
    TabOrder = 6
    OnClick = btnOKClick
    Glyph.Data = {
      36040000424D3604000000000000360000002800000010000000100000000100
      2000000000000004000000000000000000000000000000000000FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF009C3100009C310000FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF009C310000CE630000CE6300009C310000FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF009C310000CE630000CE630000CE630000CE6300009C310000FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C31
      0000CE630000CE630000CE630000CE630000CE630000CE6300009C310000FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C31
      0000CE630000CE6300009C3100009C310000CE630000CE630000CE6300009C31
      0000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C31
      0000CE6300009C310000FF00FF00FF00FF009C310000CE630000CE630000CE63
      00009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C31
      00009C310000FF00FF00FF00FF00FF00FF00FF00FF009C310000CE630000CE63
      0000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C310000CE63
      0000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C31
      0000CE630000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF009C310000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF009C310000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF009C3100009C310000FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
  end
  object btnCancel: TBitBtn
    Left = 440
    Top = 270
    Width = 75
    Height = 25
    Caption = #21462#28040'(&C)'
    TabOrder = 7
    OnClick = btnCancelClick
    Glyph.Data = {
      36040000424D3604000000000000360000002800000010000000100000000100
      2000000000000004000000000000000000000000000000000000FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C31
      00009C3100009C3100009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF009C3100009C3100009C3100009C310000FF00FF00FF00FF00FF00FF009C31
      0000CE630000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF009C31
      0000CE630000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00
      FF009C310000CE630000CE630000CE6300009C310000FF00FF009C310000CE63
      0000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF009C310000CE630000CE630000CE6300009C310000CE630000CE63
      0000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF009C310000CE630000CE630000CE630000CE630000CE63
      00009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF009C310000CE630000CE630000CE6300009C31
      0000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF009C310000CE630000CE630000CE630000CE630000CE63
      00009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF009C310000CE630000CE630000CE6300009C310000CE630000CE63
      0000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF009C310000CE630000CE630000CE6300009C310000FF00FF009C310000CE63
      0000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF00FF00FF009C31
      0000CE630000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF009C31
      0000CE630000CE630000CE6300009C310000FF00FF00FF00FF00FF00FF009C31
      00009C3100009C3100009C310000FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF009C3100009C3100009C3100009C310000FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
  end
  object DBGridEh1: TDBGridEh
    Left = 360
    Top = 64
    Width = 233
    Height = 200
    TabStop = False
    AllowedOperations = [alopUpdateEh, alopAppendEh]
    DataSource = dsUserIP
    DynProps = <>
    Flat = True
    FooterParams.Color = clWindow
    GridLineParams.VertEmptySpaceStyle = dessNonEh
    ImeName = #20013#25991' ('#31616#20307') - '#26497#28857#20013#25991
    IndicatorOptions = [gioShowRowIndicatorEh]
    OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghColumnResize, dghColumnMove]
    PopupMenu = pmUserIP
    TabOrder = 8
    TitleParams.MultiTitle = True
    Columns = <
      item
        LookupParams.LookupCache = False
        ButtonStyle = cbsNone
        DynProps = <>
        EditButtons = <
          item
            Hint = 'UserIPControl#dsUserIP#0#dsUserIPControl|IPAddress'
            Style = ebsEllipsisEh
          end>
        FieldName = 'res_UserCode'
        Footers = <>
        Title.TitleButton = True
        Width = 80
        AAEditIdent = False
      end
      item
        LookupParams.LookupCache = False
        DynProps = <>
        EditButtons = <>
        FieldName = 'res_UserName'
        Footers = <>
        ReadOnly = True
        Title.TitleButton = True
        Width = 80
        AAEditIdent = False
      end>
    object RowDetailData: TRowDetailPanelControlEh
    end
  end
  object BitBtn1: TBitBtn
    Left = 520
    Top = 270
    Width = 75
    Height = 25
    Caption = #20851#38381'(&X)'
    ModalResult = 2
    TabOrder = 9
    Glyph.Data = {
      36040000424D3604000000000000360000002800000010000000100000000100
      2000000000000004000000000000000000000000000000000000FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00E7EFF700FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00E7EFF700E7E7E700CECECE00E7E7E700E7EFF700FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00E7EF
      F700E7E7E700B5B5B500CE9C9C009C6363009C636300B5B5B500CECECE00E7E7
      E700E7EFF700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00E7E7E700CE9C
      9C009C636300CE9C9C00CE9C9C00FFFFFF009C6363009C9C9C009C9C9C00B5B5
      B500E7E7E700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C636300CE9C
      9C00FFCE9C00FFCE9C00FFCECE00FFFFFF009C63630031639C0031639C003163
      9C00E7EFF700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF009C636300FFCE
      9C00FFCE9C00FFCE9C00FFCECE00FFFFFF009C63630063CECE0063CECE00009C
      CE00FFFFFF00FFCECE00FF00FF00FF00FF00FF00FF00FF00FF009C636300FFCE
      9C00FFCE9C00FFCE9C00FFCECE00FFFFFF009C63630063CECE0063CEFF00319C
      CE00FFCECE00CE630000FF00FF00FF00FF00FF00FF00FF00FF009C636300FFCE
      9C00CE9C9C00CE9C6300FFCECE00FFFFFF009C6363009CCECE009CCEFF00B5B5
      B500FF630000CE630000FF00FF00FF00FF00FF00FF00FF00FF009C636300FFCE
      9C009C636300FFFFFF00FFCECE00FFFFFF009C6363009CCECE00C6C6C600CE63
      0000CE630000CE630000CE630000CE630000CE630000FF00FF009C636300FFCE
      9C00CE9C9C009C636300FFCECE00FFFFFF009C636300FF00FF00CE630000CE63
      0000CE630000CE630000CE630000CE630000CE630000FF00FF009C636300FFCE
      9C00FFCE9C00FFCE9C00FFCECE00FFFFFF009C636300FF00FF00CE9C9C00CE63
      0000CE630000CE630000CE630000CE630000CE630000FF00FF009C636300FFCE
      9C00FFCE9C00FFCE9C00FFCECE00FFFFFF009C636300CECECE00E7EFF700CE9C
      9C00FF630000CE630000FF00FF00FF00FF00FF00FF00FF00FF009C636300FFCE
      9C00FFCE9C00FFCE9C00FFCECE00FFFFFF009C6363009CCECE00FF00FF009CCE
      CE00FFCE9C00CE630000FF00FF00FF00FF00FF00FF00FF00FF009C636300CE9C
      9C00FFCE9C00FFCE9C00FFCECE00FFFFFF009C636300CECECE00FF00FF00319C
      CE00FF00FF00FFCE9C00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00C6C6
      C600CE9C6300CE9C9C00CECE9C00FFFFFF009C636300009CCE00009CCE00009C
      CE00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00CECECE00CE9C9C009C6363009C636300FF00FF00FF00FF00FF00
      FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
  end
  object adsUserIP: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    AfterOpen = adsUserIPAfterOpen
    CommandText = 
      'Select IPAddress, UserID, UserCode, UserName from V_xt_UserIP'#13#10'w' +
      'here IPAddress=:IPAddress'
    Parameters = <
      item
        Name = 'IPAddress'
        DataType = ftString
        NumericScale = 255
        Precision = 255
        Size = 15
        Value = Null
      end>
    Left = 488
    Top = 144
    object adsUserIPIPAddress: TStringField
      DisplayLabel = 'IP'#22320#22336
      FieldName = 'IPAddress'
      Size = 15
    end
    object adsUserIPUserID: TIntegerField
      FieldName = 'UserID'
    end
    object adsUserIPUserCode: TStringField
      DisplayLabel = #29992#25143#20195#30721
      FieldName = 'UserCode'
    end
    object adsUserIPUserName: TStringField
      DisplayLabel = #29992#25143#21517#31216
      FieldName = 'UserName'
      Size = 10
    end
    object adsUserIPres_UserCode: TStringField
      DisplayLabel = #29992#25143#20195#30721
      FieldKind = fkLookup
      FieldName = 'res_UserCode'
      LookupDataSet = adsUsers
      LookupKeyFields = 'UserID'
      LookupResultField = 'UserCode'
      KeyFields = 'UserID'
      Lookup = True
    end
    object adsUserIPres_UserName: TStringField
      DisplayLabel = #29992#25143#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_UserName'
      LookupDataSet = adsUsers
      LookupKeyFields = 'UserID'
      LookupResultField = 'UserName'
      KeyFields = 'UserID'
      Lookup = True
    end
  end
  object adsUserIPControl: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'Select IPAddress, ComputerName, UserName, IPControl'#13#10'from xt_Use' +
      'rIPControl Order by IPAddress'
    Parameters = <>
    Left = 112
    Top = 168
    object adsUserIPControlIPAddress: TStringField
      DisplayLabel = 'IP'#22320#22336
      FieldName = 'IPAddress'
      Size = 15
    end
    object adsUserIPControlComputerName: TStringField
      DisplayLabel = #35745#31639#26426#21517
      FieldName = 'ComputerName'
      Size = 50
    end
    object adsUserIPControlUserName: TStringField
      DisplayLabel = #20351#29992#20154
      FieldName = 'UserName'
    end
    object adsUserIPControlIPControl: TBooleanField
      DisplayLabel = 'IP'#31105#29992#21542
      FieldName = 'IPControl'
    end
  end
  object dsUserIP: TDataSource
    DataSet = adsUserIP
    Left = 536
    Top = 144
  end
  object dsUserIPControl: TDataSource
    DataSet = adsUserIPControl
    OnDataChange = dsUserIPControlDataChange
    Left = 152
    Top = 168
  end
  object adsUsers: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select UserID, UserCode, UserName from xt_Users'
    Parameters = <>
    Left = 400
    Top = 144
  end
  object pmIPControl: TPopupMenu
    Left = 72
    Top = 168
    object pmDeleteIP: TMenuItem
      Caption = #21024#38500'IP'#22320#22336
      OnClick = pmDeleteIPClick
    end
  end
  object pmUserIP: TPopupMenu
    Left = 440
    Top = 144
    object pmAddUser: TMenuItem
      Caption = #28155#21152#29992#25143
      OnClick = pmAddUserClick
    end
    object pmDeleteUser: TMenuItem
      Caption = #21024#38500#29992#25143
      OnClick = pmDeleteUserClick
    end
  end
end
